<%@ Page Language="C#" MasterPageFile="../main/ManagerMasterPage.master" AutoEventWireup="true" CodeFile="category_to_category.aspx.cs" Inherits="edit_category_to_category" Title="Category relationship" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentAdmin" Runat="Server">

<h3 style="padding-left:200px" >Category relationship</h3>
    <br /><br />

    <span class="label" style="padding-left:150px" >Category Name: &nbsp;&nbsp;&nbsp; </span><asp:DropDownList ID="ddlCategoryName" runat="server" AutoPostBack="true" OnSelectedIndexChanged="dropdownlist_change"></asp:DropDownList>
<br />    <br /> 
<table>
    <tr>
        <td width=20><!-- --> </td>
        <td width=200>        
            <asp:ListBox ID="listbox_parent" runat="server" SelectionMode=Multiple Width=150 Height=200></asp:ListBox>    
        </td>
        <td width=200>
             <table align=center>
                <tr>
                    <td ><asp:Button ID="button_add" runat="server" Text=" > " OnClick="btnAdd_Click" /></td>
                </tr>
                <tr>
                    <td ><asp:Button ID="button_add_all" runat="server" Text=">>" OnClick="btnAddAll_Click" /></td>
                </tr>
                <tr>
                    <td ><asp:Button ID="button_sub" runat="server" Text=" < " OnClick="btnRemove_Click" /></td>
                </tr>
                <tr>
                    <td ><asp:Button ID="button_sub_all" runat="server" Text="<<" OnClick="btnRemoveAll_Click" /></td>
                </tr>
             </table>
        </td>
        <td width=200>        
            <asp:ListBox ID="listbox_child" runat="server" SelectionMode=Multiple Width=150 Height=200></asp:ListBox>    
        </td>
    </tr>
    
    <tr>
        <td><!-- --></td>
        <td colspan=3><asp:ImageButton ID="button_save" runat="server" ImageUrl="../../images/save.gif" OnClick="save_click" /></td>
    </tr>
</table>
</asp:Content>

